/**
 * 配置
 * getUsers: { url:API_EPRS_RESOURCE_URL +  '/users', method: 'get', params: { pageSize: 10 } },
 * getUser: { url:API_EPRS_RESOURCE_URL +  '/user/:id', method: 'get' },
 * addUser: { url:API_EPRS_RESOURCE_URL +  '/user', method: 'post' },
 * deleteUser: { url:API_EPRS_RESOURCE_URL +  '/user/:id', method: 'delete' },
 * putUser: { url:API_EPRS_RESOURCE_URL +  '/user/:id', method: 'put' },
 *
 * 使用范例
 * api.getUsers({ pageNo: 0, pageSize: 10 })
 * api.getUser({ id: 10 })
 * api.addUser({ username: '雄黎明', ... })
 * api.deleteUser({ id: 10 })
 * api.putUser({ id: 10, username: '雄黎明', ... })
 */
const API_DEMO_URL = "/demo"
export default {
  getVehicleListPage: { url: API_DEMO_URL + "/getDemoList", method: "post" }, // 车辆信息取得
  getVehicle: { url: API_DEMO_URL + "/getDemoById/:id", method: "get" }, // 应急车辆信息取得
  delVehicle: { url: API_DEMO_URL + "/deleteDemoByIds/:ids", method: "delete" }, // 应急车辆删除插入
  addVehicle: { url: API_DEMO_URL + "/saveDemo", method: "post" }, // 应急车辆信息插入
  updateVehicle: { url: API_DEMO_URL + "/updateDemo", method: "put" }, // 应急车辆信息变更
  uploadFile: { url: API_DEMO_URL + '/', method: 'put'},//上传
};
